import { getFileNameWithoutExtension } from '@/utils'
const files = require.context('./modules', false, /\.js$/)

export default {
    install(Vue, options) {
        files.keys().forEach(v => {
            Vue.filter(getFileNameWithoutExtension(v),files(v).default)
        })       
    }
}